export class Helper {
    constructor() {
        throw new Error("Cannot new this class");
    } 

    static IsNull(v: any): boolean {
        return v == null || typeof (v) == "undefined";
    }

    static  s4() :string{
        return Math.floor((1 + Math.random()) * 0x10000)
        .toString(16)
        .substring(1);
    }

    static GUID():string{
        return Helper.s4() + Helper.s4() + '-' + Helper.s4() + '-' + Helper.s4() + '-' + Helper.s4() + '-' + Helper.s4() + Helper.s4() + Helper.s4();
    }
}
  